//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['JJ Watt Charity Classic','Constellation Field','Sugar Land, TX','Saturday','5/4/2024','TBD','5979876','JJ-Watt-Charity-Classic-5-4-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Tuesday','5/7/2024','6:05 PM','5949431','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-7-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Wednesday','5/8/2024','11:05 AM','5949432','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-8-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Thursday','5/9/2024','6:35 PM','5949433','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-9-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Friday','5/10/2024','7:05 PM','5949434','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-10-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Saturday','5/11/2024','6:05 PM','5949435','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-11-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Sunday','5/12/2024','2:05 PM','5949436','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-5-12-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Tuesday','5/21/2024','6:35 PM','5949437','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-21-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Wednesday','5/22/2024','6:35 PM','5949438','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-22-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Thursday','5/23/2024','6:35 PM','5949439','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-23-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Friday','5/24/2024','7:05 PM','5949440','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-24-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Saturday','5/25/2024','6:05 PM','5949441','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-25-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Sunday','5/26/2024','6:05 PM','5949442','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-5-26-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Tuesday','6/11/2024','7:05 PM','5949443','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-11-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Wednesday','6/12/2024','7:05 PM','5949444','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-12-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Thursday','6/13/2024','7:05 PM','5949445','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-13-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Friday','6/14/2024','7:05 PM','5949446','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-14-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Saturday','6/15/2024','7:05 PM','5949447','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-15-2024'],['Sugar Land Space Cowboys vs. Oklahoma City Baseball Club','Constellation Field','Sugar Land, TX','Sunday','6/16/2024','6:35 PM','5949448','Sugar-Land-Space-Cowboys-vs--Oklahoma-City-Baseball-Club-6-16-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Tuesday','6/25/2024','7:05 PM','5949449','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-25-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Wednesday','6/26/2024','7:05 PM','5949450','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-26-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Thursday','6/27/2024','7:05 PM','5949451','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-27-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Friday','6/28/2024','7:05 PM','5949452','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-28-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Saturday','6/29/2024','7:05 PM','5949453','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-29-2024'],['Sugar Land Space Cowboys vs. Tacoma Rainiers','Constellation Field','Sugar Land, TX','Sunday','6/30/2024','6:05 PM','5949454','Sugar-Land-Space-Cowboys-vs--Tacoma-Rainiers-6-30-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Thursday','7/4/2024','6:05 PM','5949456','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-7-4-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Friday','7/5/2024','7:05 PM','5949457','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-7-5-2024'],['Sugar Land Space Cowboys vs. Round Rock Express','Constellation Field','Sugar Land, TX','Saturday','7/6/2024','7:05 PM','5949458','Sugar-Land-Space-Cowboys-vs--Round-Rock-Express-7-6-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Tuesday','7/9/2024','7:05 PM','5949459','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-9-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Wednesday','7/10/2024','12:05 PM','5949460','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-10-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Thursday','7/11/2024','7:05 PM','5949461','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-11-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Friday','7/12/2024','7:05 PM','5949462','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-12-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Saturday','7/13/2024','7:05 PM','5949463','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-13-2024'],['Sugar Land Space Cowboys vs. Las Vegas Aviators','Constellation Field','Sugar Land, TX','Sunday','7/14/2024','6:35 PM','5949464','Sugar-Land-Space-Cowboys-vs--Las-Vegas-Aviators-7-14-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Tuesday','7/23/2024','7:05 PM','5949466','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-23-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Wednesday','7/24/2024','7:05 PM','5949467','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-24-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Thursday','7/25/2024','7:05 PM','5949468','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-25-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Friday','7/26/2024','7:05 PM','5949469','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-26-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Saturday','7/27/2024','7:05 PM','5949470','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-27-2024'],['Sugar Land Space Cowboys vs. Sacramento River Cats','Constellation Field','Sugar Land, TX','Sunday','7/28/2024','6:35 PM','5949471','Sugar-Land-Space-Cowboys-vs--Sacramento-River-Cats-7-28-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Tuesday','8/6/2024','7:05 PM','5949472','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-6-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Wednesday','8/7/2024','7:05 PM','5949473','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-7-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Thursday','8/8/2024','7:05 PM','5949474','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-8-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Friday','8/9/2024','7:05 PM','5949475','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-9-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Saturday','8/10/2024','7:05 PM','5949476','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-10-2024'],['Sugar Land Space Cowboys vs. El Paso Chihuahuas','Constellation Field','Sugar Land, TX','Sunday','8/11/2024','6:35 PM','5949477','Sugar-Land-Space-Cowboys-vs--El-Paso-Chihuahuas-8-11-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Tuesday','8/20/2024','7:05 PM','5949478','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-20-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Wednesday','8/21/2024','7:05 PM','5949479','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-21-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Thursday','8/22/2024','7:05 PM','5949480','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-22-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Friday','8/23/2024','7:05 PM','5949481','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-23-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Saturday','8/24/2024','7:05 PM','5949482','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-24-2024'],['Sugar Land Space Cowboys vs. Albuquerque Isotopes','Constellation Field','Sugar Land, TX','Sunday','8/25/2024','6:35 PM','5949483','Sugar-Land-Space-Cowboys-vs--Albuquerque-Isotopes-8-25-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Tuesday','8/27/2024','7:05 PM','5949484','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-8-27-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Wednesday','8/28/2024','7:05 PM','5949485','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-8-28-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Thursday','8/29/2024','7:05 PM','5949486','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-8-29-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Friday','8/30/2024','7:05 PM','5949487','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-8-30-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Saturday','8/31/2024','7:05 PM','5949488','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-8-31-2024'],['Sugar Land Space Cowboys vs. Salt Lake Bees','Constellation Field','Sugar Land, TX','Sunday','9/1/2024','6:35 PM','5949489','Sugar-Land-Space-Cowboys-vs--Salt-Lake-Bees-9-1-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Tuesday','9/10/2024','7:05 PM','5949490','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-10-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Wednesday','9/11/2024','7:05 PM','5949491','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-11-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Thursday','9/12/2024','7:05 PM','5949492','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-12-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Friday','9/13/2024','7:05 PM','5949493','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-13-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Saturday','9/14/2024','7:05 PM','5949494','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-14-2024'],['Sugar Land Space Cowboys vs. Reno Aces','Constellation Field','Sugar Land, TX','Sunday','9/15/2024','2:05 PM','5949495','Sugar-Land-Space-Cowboys-vs--Reno-Aces-9-15-2024']],'Constellation Field','http://www.ticketnetwork.com/ticket/Constellation-Field-events.aspx');